package com.dc.seckill.redis;

/**
 * @模块 redis缓存模块
 * @作者 djs
 * @时间 2018/3/14 13:35
 * @版本 V1.0
 * @描述 用户缓存key
 */
public class MiaoshaUserKey extends BasePrefix {

    public static final int TOKEN_EXPIRE = 3600 * 24 *2;

    public static final String COOKI_NAME_TOKEN = "token";

    public MiaoshaUserKey(int expire, String prefix) {
        super(expire,prefix);
    }

    public static MiaoshaUserKey token = new MiaoshaUserKey(TOKEN_EXPIRE,"tk");
}